package com.ruoyi.yipaiju.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.yipaiju.mapper.GroupHouseUploadingOrderMapper;
import com.ruoyi.yipaiju.domain.GroupHouseUploadingOrder;
import com.ruoyi.yipaiju.service.IGroupHouseUploadingOrderService;

/**
 * fo_group_house_uploading_orderService业务层处理
 * 
 * @author liuwp
 * @date 2023-03-01
 */
@Service
public class GroupHouseUploadingOrderServiceImpl implements IGroupHouseUploadingOrderService 
{
    @Autowired
    private GroupHouseUploadingOrderMapper groupHouseUploadingOrderMapper;

    /**
     * 查询fo_group_house_uploading_order
     * 
     * @param id fo_group_house_uploading_order主键
     * @return fo_group_house_uploading_order
     */
    @Override
    public GroupHouseUploadingOrder selectGroupHouseUploadingOrderById(Long id)
    {
        return groupHouseUploadingOrderMapper.selectGroupHouseUploadingOrderById(id);
    }

    /**
     * 查询fo_group_house_uploading_order列表
     * 
     * @param groupHouseUploadingOrder fo_group_house_uploading_order
     * @return fo_group_house_uploading_order
     */
    @Override
    public List<GroupHouseUploadingOrder> selectGroupHouseUploadingOrderList(GroupHouseUploadingOrder groupHouseUploadingOrder)
    {
        return groupHouseUploadingOrderMapper.selectGroupHouseUploadingOrderList(groupHouseUploadingOrder);
    }

    /**
     * 根据业务主键查询一条记录：fo_group_house_uploading_order
     *
     * @param groupHouseUploadingOrder fo_group_house_uploading_order
     * @return fo_group_house_uploading_order
     */
    @Override
    public GroupHouseUploadingOrder selectOneGroupHouseUploadingOrder(GroupHouseUploadingOrder groupHouseUploadingOrder)
    {
        return groupHouseUploadingOrderMapper.selectOneGroupHouseUploadingOrder(groupHouseUploadingOrder);
    }

    /**
     * 新增fo_group_house_uploading_order
     * 
     * @param groupHouseUploadingOrder fo_group_house_uploading_order
     * @return 结果
     */
    @Override
    public int insertGroupHouseUploadingOrder(GroupHouseUploadingOrder groupHouseUploadingOrder)
    {
        return groupHouseUploadingOrderMapper.insertGroupHouseUploadingOrder(groupHouseUploadingOrder);
    }

    /**
     * 修改fo_group_house_uploading_order
     * 
     * @param groupHouseUploadingOrder fo_group_house_uploading_order
     * @return 结果
     */
    @Override
    public int updateGroupHouseUploadingOrder(GroupHouseUploadingOrder groupHouseUploadingOrder)
    {
        return groupHouseUploadingOrderMapper.updateGroupHouseUploadingOrder(groupHouseUploadingOrder);
    }

    @Override
    public int updateGroupHouseUploadingOrderCondition(GroupHouseUploadingOrder groupHouseUploadingOrder, GroupHouseUploadingOrder groupHouseUploadingOrderCondition)
    {
        return groupHouseUploadingOrderMapper.updateGroupHouseUploadingOrderCondition(groupHouseUploadingOrder, groupHouseUploadingOrderCondition);
    }

    /**
     * 批量删除fo_group_house_uploading_order
     * 
     * @param ids 需要删除的fo_group_house_uploading_order主键
     * @return 结果
     */
    @Override
    public int deleteGroupHouseUploadingOrderByIds(Long[] ids)
    {
        return groupHouseUploadingOrderMapper.deleteGroupHouseUploadingOrderByIds(ids);
    }

    /**
     * 删除fo_group_house_uploading_order信息
     * 
     * @param id fo_group_house_uploading_order主键
     * @return 结果
     */
    @Override
    public int deleteGroupHouseUploadingOrderById(Long id)
    {
        return groupHouseUploadingOrderMapper.deleteGroupHouseUploadingOrderById(id);
    }

    /**
     * 条件删除fo_group_house_uploading_order
     *
     * @param groupHouseUploadingOrder fo_group_house_uploading_order
     * @return 结果
     */
    @Override
    public int deleteGroupHouseUploadingOrderByCondition(GroupHouseUploadingOrder groupHouseUploadingOrder)
    {
        return groupHouseUploadingOrderMapper.deleteGroupHouseUploadingOrderByCondition(groupHouseUploadingOrder);
    }

}
